package com.ldzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
//@Getter
//@Setter
@Accessors(chain = true)
@TableName("t_cake")
public class Cake implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("type")
    private  String type;
    @TableField("cake_name")
    private  String cakeName;
    @TableField("cake_image")
    private  String cakeImage;
    @TableField("cake_introductory")
    private  String cakeIntroductory;
    @TableField("cake_money")
    private  double cakeMoney;
    @TableField("cake_score")
    private  int cakeScore;
    @TableField("cake_number")
    private  int cakeNumber;
}
